﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;

namespace DotNetCoreStudy.Web.Models
{
    /// <summary>
    /// 部门
    /// </summary>
    public class Department
    {
        public int Id { get; set; }

        [Display(Name = "部门名称")]
        public string Name { get; set; }

        /// <summary>
        /// 地点
        /// </summary>
        [Display(Name = "地点")]
        public string Location { get; set; }

        /// <summary>
        /// 员工数量
        /// </summary>
        [Display(Name = "员工数量")]
        public int EmployeeCount { get; set; }
    }
}
